type url = string
let BASE_URL: url

if (import.meta.env.VITE_NAME === 'development') {
    // 开发环境
    BASE_URL = '/api'
    console.log('dev')
} else if (import.meta.env.VITE_NAME === 'production') {
    // 生产环境
    // BASE_URL = 'https://139.196.12.3:8093/api'
}
export { BASE_URL }